QT       += core gui openglwidgets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = OpenCASCADE
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += \
    OccView.cpp \
    form.cpp \
        main.cpp


HEADERS += \
    OccView.h \
    form.h

FORMS += \
        form.ui


# # ASSIMP库根目录
# LIBRARY_ROOT_PATH = ./Libraries

# # ASSIMP库
# ASSIMP_PATH = $$LIBRARY_ROOT_PATH/Assimp
# INCLUDEPATH += $$ASSIMP_PATH/include
# LIBS += -L$$ASSIMP_PATH/lib
# LIBS += -lassimp-vc142-mt


# 外部库根目录
LIBRARY_ROOT_PATH = E:/ASSIMP/Libraries

# ASSIMP库
ASSIMP_PATH =E:/ASSIMP/Libraries/Assimp
INCLUDEPATH += E:/ASSIMP/Libraries/Assimp/include
LIBS += -LE:/ASSIMP/Libraries/Assimp/lib
LIBS += -lassimp-vc142-mt


#OpenCASCADE路径
CASROOT = D:/Software/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0

win32 {
    DEFINES +=  \
        WNT
    INCLUDEPATH +=  \
        $$CASROOT/inc

    message("64 build")
    LIBS += -L$$CASROOT/win64/vc14/lib
}

LIBS += \
    -lTKBin \
    -lTKBinL \
    -lTKBinTObj \
    -lTKBinXCAF \
    -lTKBO \
    -lTKBool \
    -lTKBRep \
    -lTKCAF \
    -lTKCDF \
    -lTKD3DHost \
    -lTKDCAF \
    -lTKDFBrowser \
    -lTKDraw \
    -lTKernel \
    -lTKFeat \
    -lTKFillet \
    -lTKG2d \
    -lTKG3d \
    -lTKGeomAlgo \
    -lTKGeomBase \
    -lTKHLR \
    -lTKIGES \
    -lTKIVtk \
    -lTKIVtkDraw \
    -lTKLCAF \
    -lTKMath \
    -lTKMesh \
    -lTKMeshVS \
    -lTKOffset \
    -lTKOpenGl \
    -lTKPrim \
    -lTKQADraw \
    -lTKRWMesh \
    -lTKService \
    -lTKShapeView \
    -lTKShHealing \
    -lTKStd \
    -lTKStdL \
    -lTKSTEP \
    -lTKSTEP209 \
    -lTKSTEPAttr \
    -lTKSTEPBase \
    -lTKSTL \
    -lTKTInspector \
    -lTKTInspectorAPI \
    -lTKTObj \
    -lTKTObjDRAW \
    -lTKToolsDraw \
    -lTKTopAlgo \
    -lTKTopTest \
    -lTKTreeModel \
    -lTKV3d \
    -lTKVCAF \
    -lTKView \
    -lTKViewerTest \
    -lTKVInspector \
    -lTKVRML \
    -lTKXCAF \
    -lTKXDEDRAW \
    -lTKXDEIGES \
    -lTKXDESTEP \
    -lTKXMesh \
    -lTKXml \
    -lTKXmlL \
    -lTKXmlTObj \
    -lTKXmlXCAF \
    -lTKXSBase \
    -lTKXSDRAW


RESOURCES += \
    res.qrc

